package com.qf.day04.homework;

public class Work01 {
    public static void main(String[] args) {

        int num = 1221;

        String s = num+"";
        System.out.println(s);

        char[] charArray = s.toCharArray();
        for (int i = 0; i < charArray.length; i++) {
            System.out.println(charArray[i]);
        }

    }
}
